-- GENERATED SPELL FOR [Greymist Hunter] --


function spell0_2206(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2206', 500, 1)
end

function Sorts_2206(pUnit, Event)
local choix_sorts_2206 = math.random(0, 0)
if choix_sorts_2206 == 0 then
pUnit:RegisterEvent('spell0_2206', 1, 1)
end
end

function mob2206_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2206', math.random(1500, 3000), 1)
end

function mob2206_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2206_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2206_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2206, 1, 'mob2206_Action')
RegisterUnitEvent(2206, 2, 'mob2206_Leave')
RegisterUnitEvent(2206, 3, 'mob2206_Kill')
RegisterUnitEvent(2206, 4, 'mob2206_Die')
